indentedtext
Command/ startitemgroup
Command/ startlabeltext
Command/ startlinenote
Command/ startlines
Command/ startmakeup
Command/ startmathalignment
Command/ startmathcases
Command/ startmathmatrix
Command/ startmixedcolumns
Command/ startnarrower
Command/ startnote
Command/ startpagecolumns
Command/ sta
Hi,
try
\startmathalignment[n=2,align={1:left,2:right}]
I think this was changed two or three years ago.
/Mikael
On Fri, Nov 24, 2023 at 11:04 PM wolfgangbackes--- via ntg-context
wrote:
>
> Something as elementary as "mathenvironment" can't really be faulty, can it?
&
,
Minimal example 1:
\starttext
\startformula
\startmathalignment[n=2,align={left, right}]
\NC always aligned to the right \NC = u + at, \NR
\NC d \NC = ut + \frac12 at^2. \NR
\stopmathalignment
\stopformula
\stoptext
Despite "align={left, right}", the first column is aligned to the rig
} \right)$
\item\hspace[big] $\frac{d}{dt}\left( 4t^4 - 3t^{\onehalf} \right) $
\item\hspace[big] $\frac{d}{dt}( 9 - 3t )$
\startformula\startmathalignment
\NC \frac{d}{dt}( 9 - 3t ) \NC= \frac{d}{dt} 9 - \frac{d}{dt} 3t \NR
\NC \NC= 0 - 3\frac{d}{dt} t \NR
\NC \NC= -3\cdot 1t^0 \NR
\NC \NC
\,\right)}]
>
> \starttext
> \placeformula[-]\startformula\startmathalignment
>\NC\
>A \NC=\underbrace{
>\startpmatrix
> \NC 5\NC 5\NR
> \NC -1\NC 7\NR
>\stoppmatrix}\NR
>\NC\NC=\underbrace{
>\startpmatrix
> \NC 2\NC 1\NR
> \N
={\left(\,},right={\,\right)}]
\starttext
\placeformula[-]\startformula\startmathalignment
gt;
> and with all the wiki examples on \startmathalignment
> (https://wiki.contextgarden.net/Command/_startmathalignment).
>
> L. Montgomery
>
> El dom, 22 may 2022 a las 0:14, śrīrāma via ntg-context
> () escribió:
>>
>> On 5/19/22 2:04 PM śrīrāma wrote:
>>
Same issue with
\placeformula
\startformula
\startalign[number=auto]
\NC A_1 x + B_1 y + C_1\NC = 0 \NR[+]
\NC A_2 x + B_2 y + C_2\NC = 0 \NR[+]
\stopalign
\stopformula
and with all the wiki examples on \startmathalignment (
https://wiki.contextgarden.net/Command/_startmathalignment).
L
g: only one statement is numbered even if
> multiple are requested.
>
> The following example does not produce the expected result
> both the equations should be numbered when only the first one is –
>
> \starttext
>
> \placeformula
> \startformula
> \
esult (sample
> attached):
> both the equations should be numbered when only the first one is –
>
> \starttext
>
> \placeformula
> \startformula
> \startmathalignment
> \NC a \NC = b \NR[eq:one]
> \NC c \NC = d \NR[eq:two]
> \stopmatha
example does not produce the expected result (sample attached):
both the equations should be numbered when only the first one is –
\starttext
\placeformula
\startformula
\startmathalignment
\NC a \NC = b \NR[eq:one]
\NC c \NC = d \NR[eq:two]
\stopmathalignment
\startformula\startmathalignment
\NC {\mathcal H}_0 \NC : \text { the null hypothesis } \NR
\NC {\mathcal H}_1 \NC : \text { the alternate hypothesis } \NR
\stopmathalignment \stopformula
\startsplitformula\startmathalignment
\NC t \NC = f_t(x) \NR
\NC m_t \NC = f_m(x) \NR
On Wednesday, March 2, 2022 1:15 PM Mikael Sundqvist via ntg-context wrote:
> \starttext
> \placeformula
> \startformula
> \startmathalignment[n=7,align={1:right,2:left,3:right,4:left,5:right,6:left,7:righ
> t}] \NC x_1 \NC + \NC x_2 \NC + \NC 6x_3 \NC = \NC 170, \NR
> \NC 3x_
laceformula
> \startformula
> \startmathalignment[n=7,align={right,left,right,left,right,left,right}]
> \NC x_1 \NC + \NC x_2 \NC + \NC 6x_3 \NC = \NC 170, \NR
> \NC 3x_1 \NC - \NC 110x_2 \NC - \NC x_3 \NC = \NC 4, \NR
> \NC 14x_1 \NC + \NC 13x_2 \NC + \NC 10x_3 \NC = \NC 2
Hi,
While setting some rather large set of equations in a document I could not
achieve proper alignment of columns in mathalignment. Below is a demonstrative
example:
\starttext
\placeformula
\startformula
\startmathalignment[n=7,align={right,left,right,left,right,left,right}]
\NC x_1 \NC
t; \framed[frame=off,background=midrule,boffset=.65cm]{\startformula
>
> \startmathalignment[n=12,align={middle,middle,middle,middle,middle,middle,middle,middle,middle,middle,middle,middle}]
> \NC \NC S_6 \NC= \NC 1 \NC+ \NC 2 \NC+ \NC\dots \NC+ \NC 5 \NC+ \NC 6 \NR
> \NC + \
Dear list,
[image: image.png]
What I've done is to play with mathalignment and \framed. Here is a MWE:
\starttext
\defineoverlay[midrule][{\blackrule[height=.02cm,width=5.5cm]}]
\framed[frame=off,background=midrule,boffset=.65cm]{\startformula
\startmathalignment[n=12,align={middle,middle
On 10/10/21 3:23 AM, Hans Hagen wrote:
what do you mean with 'quite different'
Hans
Hi Hans,
My current stumbling block is dealing with the `align` environment.
I replace `\begin{align}/\end{align}` with
`\startmathalignment/\stopmathalignment`, and replace all `&` characters
with
c{-b \pm \sqrt{b^2-4ac}}{2a} \cr
}
\stopformula
\stoptext
Both ampersands are rendered literally.
Does anyone know how to properly typeset aligned equations?
\starttext
\startformula
\startmathalignment%[align={right,left}]
\NC ax^2+bx+c \NC = 0 \NR
\NC x \NC
= 1, 98, 1 do
context(lorum)
end
\stopluacode
\startformula \startmathalignment[n=1]
\NC y = ax \NR
\NC a^2 + b^2 = c^2 \NR
\NC x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \NR
\stopmathalignment \stopformula
\stopcolumns \stoptext
Adding text after the formula seems to fix the issue, but that mea
I've just realized I was missing "n=6". Sorry for the noise.
Regards,
Jairo
El mar, 15 de dic. de 2020 a la(s) 02:24, Jairo A. del Rio (
jairoadelr...@gmail.com) escribió:
> Hi, list! The following
>
>
> \starttext
>
> \startformula
>
> \startmathalignment
&g
Hi, list! The following
\starttext
\startformula
\startmathalignment
\NC 0 ; \NC 0,3 ; \NC 0,33 ; \NC 0,333 ; \NC 0, ; \NC \cdots \NR
\NC 1 ; \NC 0,4 ; \NC 0,34 ; \NC 0,334 ; \NC 0,3334 ; \NC \cdots \NR
\stopmathalignment
\stopformula
\stoptext
stops working both in MkIV and LMTX
On 6/12/2020 4:35 AM, Jairo A. del Rio wrote:
Hi everyone! The following example shows that numerators of fractions
inside math alignment environments appear with a funny size:
\startTEXpage
\startformula
\startmathalignment[n=1,align=middle]
\NC \frac{1351}{780}>\sqrt{3}>\frac{26
Hi everyone! The following example shows that numerators of fractions
inside math alignment environments appear with a funny size:
\startTEXpage
\startformula
\startmathalignment[n=1,align=middle]
\NC \frac{1351}{780}>\sqrt{3}>\frac{265}{153}, 3013
\frac{3}{4}>\sqrt{9082321}, \quad 183
is: is it possible to make math fences work in a math alignment, e.g.
\definemathfence[something][brace][command=yes]
\startformula
\startmathalignment[n=2,align={middle,middle}]
%This won't work (I didn't expected to work, anyway)
\NC \NC \something{\frac{1}{2} + \NR
\NC \NC x} \NR
\stopmathalignment
Fabrice Couvreur schrieb am 13.05.2019 um 22:45:
Hi,
Not having too many ideas, I did this: is there not a more elegant way ?
\definemathmatrix [pmatrix] [matrix:parentheses] [simplecommand=MATRIX]
\starttext
\startformula
\startmathalignment
\NC P \times M = P \NC \iff \MATRIX{x,y
mathalign by using distance=2em plus 1fil. However, on a recent context,
the glue gets ignored.
\starttext
\startformula
\startmathalignment[m=2,distance=2em plus 1 filll]%Notice distance=...
\NC \nabla\cdot \bf E \NC= \frac{\rho}{\varepsilon_0},
\NC \nabla\times \bf E \NC= -\frac{\par
>
> >
> >
> > \begin{document}
> >
> >
> >
> > \begin{alignat*}{2}
> > &\qquad&
> >
> >
> > \frac{\lvert\overline{AD}\rvert}{\lvert\overline{CD}\rvert}
> >
> >
> > &=\frac{\lvert\overline{DC}\rvert}{\lvert\overline
>
> \frac{\lvert\overline{AD}\rvert}{\lvert\overline{CD}\rvert}
>
>
> &=\frac{\lvert\overline{DC}\rvert}{\lvert\overline{CE'}\rvert}\\
> \iff&& \frac{1}{x}&=\frac{x}{1-x}\\
> \iff&& 1-x&=x^2\\
> \iff&& 0&=
> x^2+x-1
>
\overline{CE'}\rvert}\\\iff&&
\frac{1}{x}&=\frac{x}{1-x}\\\iff&& 1-x&=x^2\\\iff&&
0&=x^2+x-1\end{alignat*}
\end{document}
\starttext
\startformula
\startmathalignment[n=3]
\NC \qquad \NC\frac{\lvert\overline{AD}\rvert}{\lvert\overline{CD}\rvert}
\NC =\fr
on en déduit que la limite de la suite \math{(u_n)} est
égale à 2\,000. Si l'évolution des utilisateurs se maintient à long terme,
le nombre de calculatrices vendues se stabiliserait autour de 2 millions.
\startformula
\startmathalignment[n=2,align={right,left}]
\NC (1+t)
> \starttext
> \dorecurse{4}{\chapter{Chapter \Romannumerals{\recurselevel}}
> \section{\TeX}\input knuth\par
> \section{Zapf}\input zapf\par
> \section{Math}
> \startformula
> \startmathalignment[n=2,align={left,left}]
> \NC P_1 + P_2 + \dots + P_{12} \NC
th\par
\section{Zapf}\input zapf\par
\section{Math}
\startformula
\startmathalignment[n=2,align={left,left}]
\NC P_1 + P_2 + \dots + P_{12} \NC = 400 + 400\times 1,05 +
400\times 1,05^2 + \dots + 400 \times 1,05^{11}\NR
\NC \NC = 400\times (1 + 1,05 + 1,05^2 + \dots + 1,
###
\definemixedcolumns
[MyColumns]
[
n=2,
separator=rule,
rulecolor=,
balance=yes,
]
\setupalign[verytolerant,stretch,hanging]
\starttext
\startMyColumns
\dorecurse{6}{\input knuth}
\startformula
\startmathalignment[n=2,align={left,left}]
\NC P_1 + P_2 + \dots + P_{12
gt;> separator=rule,
>> rulecolor=,
>> balance=yes,
>> ]
>>
>> \setupalign[verytolerant,stretch,hanging]
>>
>> \starttext
>> \startMyColumns
>> \startformula
>> \startmathalignment[n=2,align={left,left}]
>>
> n=2,
> separator=rule,
> rulecolor=,
> balance=yes,
> ]
>
> \setupalign[verytolerant,stretch,hanging]
>
> \starttext
> \startMyColumns
> \startformula
> \startmathalignment[n=2,align={left,left}]
> \NC P_1 + P_2 + \dots + P_{12} \NC = 400
,stretch,hanging]
\starttext
\startMyColumns
\startformula
\startmathalignment[n=2,align={left,left}]
\NC P_1 + P_2 + \dots + P_{12} \NC = 400 + 400\times 1,05 + 400\times
1,05^2 + \dots + 400 \times 1,05^{11}\NR
\NC \NC = 400\times (1 + 1,05 + 1,05^2 + \dots + 1,05^{11})\NR
\NC \NC
On 9/26/2017 11:10 PM, Stephens, Kenny wrote:
\starttext
\startformula
\startmathalignment[m=2,distance=4em]
\NC \text{slope}_A \NC = 0
\NC \text{slope}_B \NC = \frac{1}{2} \NR
\stopmathalignment
\stopformula
\stoptext
In ConTeXt 2017.05.15 (shipped with TexLive 2017
\starttext
\startformula
\startmathalignment[m=2,distance=4em]
\NC \text{slope}_A \NC = 0
\NC \text{slope}_B \NC = \frac{1}{2} \NR
\stopmathalignment
\stopformula
\stoptext
In ConTeXt 2017.05.15 (shipped with TexLive 2017), the second column is
formatted as text rather than math
below
which incorporates your requested changes. Fails with 2017.09.07 23:44 (It
worked before, so your
version 2017.09.05 15:10 seems to be unaffected).
---
\starttext
\startformula
\startmathalignment
\NC \psi_{+,\mathord\Uparrow} ...
\startmathmatrix
\NC 0 \NC 1 \NR
\NC 1
ttext
>
> \placeformula
> \startformula
> \startmathalignment
> \NC \psi_{+,\Up} ...
> \startmathmatrix
> \stopmathmatrix
> \NR
> \NC \psi_{+,\Dn} ...
> \NR
> \stopmathalignment
> \stopformula
>
> \stoptext
_
}
\define\Dn{\mathord\Downarrow}
\starttext
\placeformula
\startformula
\startmathalignment
\NC \psi_{+,\Up} ...
\startmathmatrix
\stopmathmatrix
\NR
\NC \psi_{+,\Dn} ...
\NR
\stopmathalignment
\stopformula
\stoptext
e
\starttext
\input knuth
\startformula
\startmathalignment
\NC i\hbar\frac{\diff}{\diff t}\psi \NC= \left( - \frac{\hbar^2}{2 m}
\nabla^2 + V(r) \right)
\psi \NR
\NC F(x) \NC= \int f(x) \diff x \NR
\stopmathalignment
\stopformula
\
oup
\fi}
\protect
\stopmode
\starttext
\input knuth
\startformula
\startmathalignment
\NC i\hbar\frac{\diff}{\diff t}\psi \NC= \left( - \frac{\hbar^2}{2 m}
\nabla^2 + V(r) \right)
\psi \NR
\NC F(x) \NC= \int f(x) \diff x \NR
\stopmathalignment
\stopformula
\
equations
would be much easier and faster.
attached what will be provided ... experimental for a while (not in
the mood now for harder stuff)
That looks really good! Will it be possible to combine that with
\startmathalignment? And if not can you pass several \alignhere commands
and force breakin
hing fits. If you could mark
>> certain lines of an equation to be allowed to be broken at the end of a
>> page, working with multiple line equations would be much easier and faster.
> attached what will be provided ... experimental for a while (not in the mood
> now for harder st
\startmathalignment
\NC \sigma_x \NC=
{\startpmatrix
\NC 0 \NC 1 \NR
\NC 1 \NC 0 \NR
\stoppmatrix}
\NR[+]
\stopmathalignment
\stopformula
\stoptext
I'll add \NN so that we can this too:
\NN[+] ... \NC ... \NC ... \NR
(needed when we have left sided numbers
\startmathalignment
\NC \sigma_x \NC=
{\startpmatrix
\NC 0 \NC 1 \NR
\NC 1 \NC 0 \NR
\stoppmatrix}
\NR[+]
\stopmathalignment
\stopformula
\stoptext
yes. in retrospect giving \NR an argument was a bad idea as we need to
pick it up in advance .. tricky
Wow, mathalignment is completely screwed in beta and TL2017. Hans, please fix!
---
\starttext
\placeformula
\startformula
\startmathalignment[m=2]
\NC a^2 + b^2 \NC= c^2 \NC a^2 + b^2 \NC= c^2 \NR
\stopmathalignment
\stopformula
\stoptext
On Tue, 2017-06-06 at 11:06 +1200, Henri
It seems that \NC in mathalignment is looking ahead for the next \NR, because
when I wrap the matrix
in an explicit brace group it works fine again:
\definemathmatrix
[pmatrix]
[left=\left(,right=\right)]
\starttext
\placeformula
\startformula
\startmathalignment
\NC \sigma_x \NC
ers, Henri
---
\definemathmatrix
[pmatrix]
[left=\left(,right=\right)]
\starttext
\startformula
\startmathalignment
\NC \sigma_x \NC=
\startpmatrix
\NC 0 \NC 1 \NR
\NC 1 \NC 0 \NR
\stoppmatrix
\NR[+]
\NC \sigma_y \NC=
\startpmatrix
\NC 0 \NC -i \NR
\NC i
back,nowhite,2*line}]
>
> \showgrid
> \starttext
>
> \input ward
> \startformula
> \startmathalignment
> \NC \sum_{i,\alpha,\beta} c_{i,\alpha}^\dagger c_{i,\beta} \NR
> \NC \sum_{i,\alpha,\beta} c_{i,\alpha}^\dagger c_{i,\beta} \NR
> \stopmathalignment
>
grid there is also no
problem.
How do I fix mathalignment to prevent this?
Cheers, Henri
---
\setuplayout[grid=yes]
\setupbodyfont[lucidaot,9pt]
%\setupformulas[spaceafter={back,nowhite,2*line}]
\showgrid
\starttext
\input ward
\startformula
\startmathalignment
\NC \sum_{i,\alpha,\beta
/msg34316.html
and the answer seems to be "no".
Working example:
\starttext
\startformula
\startmathalignment[n=1]
\NC v = u + at, \NR[+]
\NC d = ut + \frac{1}{2} at^2. \NR[+]
\stopmathalignment
\stopformula
\stoptext
Not working example (what I'd like)
\starttext
\st
\to \everymathematics
\setupbodyfont[xits,10pt]
\starttext
\startformula
\startmathalignment
\NC I \EQ ∫_S d(x)\, dx \NR
\NC I \EQ ∫_S 푑(x)\, dx \NR
\NC I \EQ ∫_S d(x)\, dx \NR
\NC I \EQ ∫_S 푑(x)\, dx \NR
\stopmathalignment
\stopformul
\showgrid
\startcolumnset[example]
\input knuth
\input knuth
\input knuth
\startformula
\startmathalignment
\NC x^2 + y^2 \NC = z^2\NR[+]
\NC u^2 + v^2 \NC = w^2\NR[+]
\stopmathalignment
\stopformula
\input knuth
\input knuth
\input
\input knuth
\input knuth
\startformula
\startmathalignment
\NC x^2 + y^2 \NC = z^2\NR[+]
\NC u^2 + v^2 \NC = w^2\NR[+]
\stopmathalignment
\stopformula
\input knuth
\input knuth
\input knuth
\stopcolumnset
\stoptext
A picture of the result can
.
%\def\equlb#1{\left\{ \startalign #1 \stopalign\right.}
%\def\equlb#1{\left\{ \startmathalignment #1 \stopmathalignment\right.}
\startformula \placeformula[JcoordDef]
J^j:\equlb{ω^0 → 0 \cr ω^j → 0} \quad
\equlb{ω^k → ω^l \cr ω^l → -ω^k} \stopformula
\stoptext
\startformula
\startmathalignment[n=3,align={right,middle,left}]
\NC a \NC = \NC b + c \NR \FlushStep
\NC \NC = \NC b - d + d + c \NR \FlushStep
\stopmathalignment
\stopformula
\StopSteps
\stoptext
use s-pre-60 instead
\FlushStep does not seem to work when revealing steps in a
mathalignment. Is there a known solution for showing rows of a
mathalignment in their own frame? Here is the code that I am using:
\usemodule[s-pre-50]
\starttext
\StartSteps
\startformula
\startmathalignment[n=3
\startexercici Resoleu emprant el mètode de substitució:
\placeformula
\startformula
\startmathalignment
\NC x + 3y \NC = 9 \NR[+]
\NC 2x - y \NC = 3 \NR
\stopmathalignment
\stopformula
\stopexercici
\startexercici Resoleu pel mètode de reducció:
\placeformula
\startformula
\startmathalignment
\NC 3x
comuna}
\startcolumns
\startexercici Resoleu emprant el mètode de substitució:
\placeformula
\startformula
\startmathalignment
\NC x + 3y \NC = 9 \NR[+]
\NC 2x - y \NC = 3 \NR
\stopmathalignment
\stopformula
\stopexercici
\startexercici Resoleu pel mètode de reducció:
\placeformula
: 2011.10.14 22:47 MKIV fmt: 2011.10.15 int: english/english.
Using the minimal example
\starttext
\placeformula
\startformula
\startmathalignment[n=4, align={left, right, middle, left}]
\NC A \NC B \NC C \NC D \NR
\NC AA \NC BB \NC CC \NC DD \NR
\stopmathalignment
\stopformula
\stoptext
the last
the minimal example
\starttext
\placeformula
\startformula
\startmathalignment[n=4, align={left, right, middle, left}]
\NC A \NC B \NC C \NC D \NR
\NC AA \NC BB \NC CC \NC DD \NR
\stopmathalignment
\stopformula
\stoptext
int: english/english.
Using the minimal example
\starttext
\placeformula
\startformula
\startmathalignment[n=4, align={left, right, middle, left}]
\NC A \NC B \NC C \NC D \NR
\NC AA \NC BB \NC CC \NC DD \NR
\stopmathalignment
\startformula
\startmathalignment[n=4, align={left, right, middle, left}]
\NC A \NC B \NC C \NC D \NR
\NC AA \NC BB \NC CC \NC DD \NR
\stopmathalignment
\stopformula
\stoptext
the last row is aligned like middle instead of left.
Thanks,
Paul
2011.05.18
-
\starttext
\bTABLE
\bTR
\bTD a \eTD
\bTD
\startmathalignment[n=7,align={right,middle,right,middle,right,middle,right}]
\NC 3x\NC +\NC 6y\NC -\NC 2z\NC =\NC -13\NR
\NC -6x\NC -\NC 9y\NC +\NC 5z\NC =\NC 22\NR
\NC 3x\NC +\NC 3y\NC -\NC
Hello,
I'm trying to typeset some linear algebra exercises for my students; the
exercises will be within a table, and each second element will be a system
of linear equations. This sort of thing:
\starttable[|l|M|l|M|]
\NC (a) \NC %
\startmathalignment[n=7,align={right,middle,right,middle
%
\startmathalignment[n=7,align={right,middle,right,middle,right,middle,right}]
\NC 3x\NC +\NC 6y\NC -\NC 2z\NC =\NC -13\NR
\NC -6x\NC -\NC 9y\NC +\NC 5z\NC =\NC 22\NR
\NC 3x\NC +\NC 3y\NC -\NC 5z\NC =\NC -13\NR
\stopmathalignment
\NC (b) \NC %
\startmathalignment[n=7,align={right,middle,right
will be a system
of linear equations. This sort of thing:
\starttable[|l|M|l|M|]
\NC (a) \NC %
\startmathalignment[n=7,align={right,middle,right,middle,right,middle,right}]
\NC 3x\NC +\NC 6y\NC -\NC 2z\NC =\NC -13\NR
\NC -6x\NC -\NC 9y\NC +\NC 5z\NC =\NC 22\NR
\NC 3x\NC +\NC 3y\NC
Morning all,
I have a need to write a lot of physical quantities - these should be
in text mode. Mostly I can manage, but subscripts are causing me grief
Eg
\startformula
\startmathalignment[n=3]
\NC \text{F}\NC =\NC {\text{GMm} \over \text r^2}\NR
\NC \text {force}_G \NC =\NC {\text{G} \times
On Fri, Mar 11, 2011 at 10:14, Ian Lawrence physics.roo...@gmail.com wrote:
Morning all,
I have a need to write a lot of physical quantities - these should be
in text mode. Mostly I can manage, but subscripts are causing me grief
Eg
\startformula
\startmathalignment[n=3]
\NC \text{F}\NC
flushing realpage 1, userpage 1, subpage 1
systems : end file test.tex at line 14
Does anybody know how to do this right? Startformulas itself works allright,
if I leave out the alignment part. I also tried startmathalignment instead,
but it gave the same errors.
Best regards,
Julian
Mar 2010, Troy Henderson wrote:
Is there any way to change the amount of vertical space produced by
\NR within \startmathalignment ... \stopmathalignment?
There is no such high-level interface. You will have to resort to a
low-level \openup.
\starttext
\startformula \startalign
\NC
Alan BRASLAU wrote:
Is \startformula\startalign\stopalign\stopformula broken in context mkiv?
After just updating the minimals, I now get (using the example below):
See this thread:
http://archive.contextgarden.net/message/20100513.211849.e7079712.en.html
There will be a new current soon,
Is there any way to change the amount of vertical space produced by
\NR within \startmathalignment ... \stopmathalignment?
Thanks,
Troy Henderson
___
If your question is of interest to others as well, please add
On Wed, 31 Mar 2010, Troy Henderson wrote:
Is there any way to change the amount of vertical space produced by
\NR within \startmathalignment ... \stopmathalignment?
There is no such high-level interface. You will have to resort to a
low-level \openup.
\starttext
\startformula \startalign
Beautiful. \openup does what I want.
Thanks,
Troy
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
This code for example
\startformula
\startmathalignment[m=2,distance=4em]
\NC x^2+y^2\NC = z^2\NC\NC\text{(By Theorem Bla)}\NR
\NC\NC=w^2\NC\NC\text{(By Theorem BlaBla)}\NR
\stopmathalignment
\stopformula
Is this the best way?
On 3/9/2010 12:10 PM, luigi scarso wrote:
On Tue, Mar 9, 2010
).
\stopformula
\stoplema
\startdemo Si $\text{area}(u) = N$ i $\text{area}(v) = M$, aleshores
\startformula
\startmathalignment
\NC u \NC = \prod_{i=1}^N x_i^{-1} r_i x_i, \NR[+]
\NC v \NC = \prod_{j=1}^M y_j^{-1} s_j y_j, \NR[+]
\stopmathalignment
\stopformula%
per a alguns $x_i, y_j \in F
\startdemo Si $\text{area}(u) = N$ i $\text{area}(v) = M$, aleshores
\startformula
\startmathalignment
\NC u \NC = \prod_{i=1}^N x_i^{-1} r_i x_i, \NR[+]
\NC v \NC = \prod_{j=1}^M y_j^{-1} s_j y_j, \NR[+]
\stopmathalignment
\stopformula%
per a alguns $x_i, y_j \in F(A)$, $r_i, s_j \in R$, on aquestes
]
and
\starttext
\startdemo Si $\text{area}(u) = N$ i $\text{area}(v) = M$, aleshores
\startformula
\startmathalignment
\NC u \NC = \prod_{i=1}^N x_i^{-1} r_i x_i, \NR[+]
\NC v \NC = \prod_{j=1}^M y_j^{-1} s_j y_j, \NR[+]
\stopmathalignment
\stopformula%
per a alguns $x_i, y_j \in F(A)$, $r_i
setzt die
beiden letztgenannten Formate ein.
Hier ein Beispiel für den Mathematiksatz von \TeX{}:
\startlinecorrection
\vskip-.5\baselineskip
\placeformula
\startformula
\startmathalignment[m=2,distance=2em]%Notice distance=2em
\NC \nabla\cdot \bf E \NC= \frac{\rho}{\varepsilon_0},
\NC \nabla
| n_0 +2 \Rightarrow 2^2 | n_0 +2
\text{ ya que } 2^2 | (2^2)^2
\end{aligned}\right\} \Rightarrow 2^2 | (n_0 + 2 - n_0) \Rightarrow 2^2 | 2
\end{equation*}
in ConTeXt?
I tried something like:
\startformula
\startmathalignment
\NC \startaligned
\NC \lambda_{0, \lvert k - s \rvert} (n) \NC f(n) \NR
like:
\startformula
\startmathalignment
\NC \startaligned
\NC \lambda_{0, \lvert k - s \rvert} (n) \NC f(n) \NR
\NC \text{ per a $n$ suficientment gran } \NC \NR
\stopaligned \NC \iff
\startaligned
\NC \lambda_{s, k} (n) \NC f(n) \NR
\NC \text{ per a $n$ suficientment gran } \NC \NR
\stopaligned
\ket#1{\lvert#1\rangle}
\startmathcollection[default]
\definemathcharacter [myplus] [ord] [mr] [2B]
\stopmathcollection
\starttext
Note the spacing in
\startformula
\startmathalignment
\NC\ket{+}\NR
\NC\ket{++}\NR
\NC\ket{+++}\NR
\NC\ket{}\NR
\NC\ket{\myplus\myplus\myplus\myplus}\NR
confusion, have
\setupformulatagging[left=...,right=...].
However, this idea does not work inside \startmathalignment as the
conversion can not be changed inside a formula.
\placeformula \startformula \startalign
\NC a \NC = b \NR[+]
\setupformulas[conversion=set 1]
\NC c \NC = d \NR
87 matches
Mail list logo